<?php

get_header();



echo "\n" . '  <div id="content" class="narrowcolumn">' . "\n\n";

if ( have_posts() )
{
	while ( have_posts() )
	{
		the_post();
		
		echo '		<div class="post" id="post-' . get_the_ID() . '">' . "\n";
		echo '			<h1>' . the_title( '', '', false) . '</h1>' . "\n";
		echo '			<p><br /></p>' . "\n";
		echo '			<div class="entry">' . "\n";
		the_content('<p class="serif">' . __('Read the rest of this page &raquo;', 'german_newspaper') . '</p>');
		wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'german_newspaper') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));

		$sub_pages = wp_list_pages( 'sort_column=menu_order&depth=1&title_li=&echo=0&child_of=' . $id );
		
		if ( $sub_pages <> "" )
		{
			echo '				<p class="meta">' . __('<br />Please see also:', 'german_newspaper') . '</p>' . "\n";
			echo '				<ul>' . "\n";
			echo $sub_pages;
			echo '				</ul>' . "\n";
		}

		echo '			</div>' . "\n";
		echo '		</div>' . "\n";
	}
}
else
{
	echo '		<p>' . __('Sorry, no posts matched your criteria.') . '</p>' . "\n";
}

edit_post_link(__('Edit this entry.', 'german_newspaper'), '<p>', '</p>');
	
echo '		<p align="center">' . "\n";
posts_nav_link(' - ','&#171; Prev','Next &#187;');
echo '		</p>' . "\n";
echo '	</div>' . "\n\n";




get_footer();



?>